import java.util.Random;

public class caipiao {
    public static void  getNumber(){
        Random random=new Random();
        StringBuffer sb=new StringBuffer();
        for (int i = 0; i < 5; i++) {
            sb.append(random.nextInt(22)+1+" ");
        }
        System.out.println(sb);
    }

    public static void main(String[] args) {
        getNumber();
    }
}
